<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<meta content="telephone=no" name="format-detection">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<link rel="stylesheet" href="./css/phone.css" type="text/css"/>
<script type="text/javascript" src="./js/jquery-1.11.1.min.js"></script> 
<script type="text/javascript" src="./js/ht.js"></script>
<script type="text/javascript" src="My97DatePicker/WdatePicker.js"></script></head>

<body>

<form method="post" action="AddActivity.act?lujing=activitylist.jsp" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="">
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>


<div class="aspNetHidden">

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="BADC6E4E">
	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="">
</div>
        <div class="wrapper">
            <div class="header_wrapper">
                <div class="ht_img">
                    <a href="./default.jsp"><img width="40" src="./img/201507202058239699968645.jpg"></a>
                </div>
                <div class="btn-group btn-group-option pull-right">
                    <span style="color:#fff;"><%=session.getAttribute("username") %>，欢迎您</span>
                    <button type="button" class="btnn btn-default dropdown-toggle" data-toggle="dropdown">
                        <img src="./img/9.png">
                     </button>
                    <ul class="dropdown-menu pull-right" role="menu" style="display: none;">
                            <li><a href="./info.jsp"><img src="./img/q1.png">个人信息</a></li>
                            <li><a href="./touxiang.jsp"><img src="./img/q2.png">头像修改</a></li>
                            <li class="divider"></li>
                            <li><a id="lk" href="javascript:__doPostBack('ctl00$lk','')"><img src="./img/q3.png">退出</a></li>
                        </ul>
                </div>
                <div class="clr"></div>
             </div>
            <div class="page_wrapper">
                
    <div class="pageheader">
         <div class="pageicon pull-left">
             <a href="./default.jsp"><img src="./img/h-sy.png"></a>
         </div>
        <div class="media-body">
            <ul class="breadcrumb">
                <li><a href="./default.jsp"><img src="./img/sy.png"></a></li>
                <li><a href="./activitylist.jsp">微活动</a></li>
                <li>编辑</li>
            </ul>
        </div>
        <h4>编辑</h4>
    </div>
    <div class="content">
        <div class="col-sm-12">
            <div class="form-group">
                <label class="col-sm-12 col-md-2 control-label">活动名称</label>
                <div class="col-sm-12 col-md-10">
                    <input name="title" type="text" id="ContentPlaceHolder1_tbname" class="title editinput">
                </div>
            </div>            
        </div>
        <div class="col-sm-12">
            <div class="form-group">
                <label class="col-sm-12 col-md-2 control-label">活动时间</label>
                <div class="col-sm-12 col-md-10">
                    <input name="activityTime" type="text" onfocus="WdatePicker({readOnly:true})" id="ContentPlaceHolder1_tbtime" class="time editinput">
                </div>
            </div>            
        </div>
        <div class="col-sm-12">
            <div class="form-group">
                <label class="col-sm-12 col-md-2 control-label">活动地点</label>               
                <div class="col-sm-12 col-md-10">
                    <input name="address" type="text" id="ContentPlaceHolder1_tbaddress" class="address editinput">
                </div>
                <div class="clr"></div>
                 <p style="color:red;">注：为方便定位，请填写详细的地址，包含省市路名</p>
                <p style="color:red;">如：上海市浦东新区金桥路1298弄7楼</p>
            </div>            
        </div>
        <div class="col-sm-12">
            <div class="form-group">
                <label class="col-sm-12 col-md-2 control-label">活动详情</label>               
                <div class="col-sm-12 col-md-10">
                    <textarea name="activityInfo" rows="2" cols="20" id="ContentPlaceHolder1_tbdetail" class="detail editinputline"></textarea>
                </div>
            </div>            
        </div>
        <div class="col-sm-12">
            <div class="form-group">
                <div class="errorForm">

                </div>
                <div class="col-sm-12 col-md-5">
                    <input type="submit" name="ctl00$ContentPlaceHolder1$btn" value="提交保存" id="ContentPlaceHolder1_btn" class="btn actbtn">
                </div>
            </div>            
        </div>
    </div>

            </div>
        </div>     
    </form>
    
</body>
</html>